home *** CD-ROM | disk | FTP | other *** search
-
- Page 1 of 5
-
- BF.COM (Version 1.10)
-
-
- This program is an updated version of the Browse program which is
- floating around on some BBS's. It is a program to allow you to
- browse through a text file, without the ability to change anything.
- It is NOT an editor.
-
- The original author is unknown. He did a great job on this program
- but there were some features that I thought needed to be installed,
- and some deleted. These features are as follows:
-
-
- o The screen color can be changed.
-
- o The number of lines to scroll on a page up/dn scroll can
- be changed.
-
- o The number of spaces to be inserted for a tab character can
- be changed.
-
- o The option of having a totally flicker free screen was added.
-
- o The cursor is now invisible while the program is running.
-
- o The entire screen is not cleared when a one line up or down scroll
- is done. This makes the one line scroll much faster.
-
- o The screen will clear and display that the program is "READING FROM
- DISK", when it is getting more data from the file on disk.
-
-
- COMMAND
-
- The command line for the program is as follows:
-
- BF filename [/W] [/F]
-
-
- This program fully supports sub-directories, so you can include drive
- and path names as part os the file specification.
-
- The /W option is for reading Wordstar files.
-
- The /F option is for those who have color or graphic adapters. With
- this option set the screen will be updated very fast, but with some
- flicker, on some systems. Without this option set, the screen will
- not be updated as fast but there will be NO flicker at all. The
- decision is up to the user whether he wants to trade some flicker for
- for a very fast screen update or would rather have no flicker and a
- little slower screen update. Try out both options before you make a
- decision, many systems act differently. The color used has some
- affect on how much flicker is seen in the /F mode.
-
-
-
-
-
- Page 2 of 5
-
- BF.COM (Version 1.10)
-
-
- The /F option will make NO difference if you have a monochrome card
- or the Enhanced Graphics Adapter in your computer. When this is the
- case, the screen is always in the fastest mode and the monochrome
- card or EGA take care of the flicker automatically.
-
-
- The key commands are as follows:
-
- HOME - Moves screen to the beginning of the file
- END - Moves screen to the end of the file
- PGUP - Moves screen up one page at a time
- PGDN - Moves screen down one page
- UP ARROW - Scrolls screen up one line
- DOWN ARROW - Scrolls screen down one line
- RIGHT ARROW - Moves screen to the right 8 columns at a time
- LEFT ARROW - Moves screen to the left 8 columns at a time
- CTRL-LEFT ARROW - Moves screen left to the beginning of the line
- CTRL-PGUP - Same as HOME key
- CTRL-PGDN - Same as END key
-
- ESC - Exit the program
- ALT-D - Change display color attribute
- ALT-P - Select lines per page scroll
- ALT-T - Select number of spaces to insert for a tab character
- ALT-I - Display program version information
-
-
- COLOR (ALT-D)
-
- When the program is loaded the current screen color is used. If the
- DOS MODE command was used to specify that the screen is black and
- white, or the monochrome adapter is used, the color will default to
- white characters on a black background.
-
- The color option is invoked by typing the ALT key and the D keys at
- the same time. Repeating the ALT-D command cycles through a choice
- of 14 color patterns, one of which is the original color when the
- program was loaded, for use with color monitors.
-
- You may change the default color setting, to be used when the program
- is loaded, by following the directions below in the DEFAULTS section
- of this document.
-
- If the MODE command was used to specify a black and white monitor, or
- the monochrome adapter is installed, the ALT-D command is disabled.
-
-
-
-
-
-
-
-
-
-
- Page 3 of 5
-
- BF.COM (Version 1.10)
-
-
- SCROLL (ALT-P)
-
- The scroll option is invoked by typing the ALT and the P keys at the
- same time. The top 4 rows of the screen will clear and you will be
- prompted to enter how many lines you would like to have scroll on a
- page up or page down operation. Typing enter will leave the setting
- at the current value. To change the value, enter a number between 5
- and 50, then strike enter. I figured there was no need to have less
- than 5 or greater than 50 lines scroll on a pgup or pgdn operation.
-
- You may change the default scroll setting, to be used when the
- program is loaded, by following the directions below in the DEFAULTS
- section of this document.
-
-
- TAB Character Spaces (ALT-T)
-
- This option is useful when looking at files of structured programming
- languages, such as C and Pascal.
-
- To choose the number of spaces to be inserted in place of tab
- characters is done by typing the ALT and T keys at the same time.
- The top 4 rows of the screen will clear and you will be prompted to
- enter how many spaces to instert for a tab character. The operation
- is the same as for the scroll option above. The value entered must
- be between 2 and 64 spaces inserted for a tab character. If the
- value is changed, then the horizontal offset will go back to zero and
- the screen will clear and update.
-
- You may choose the default tab spaces setting by following the
- directions below in the DEFAULTS section of this document.
-
- Note that this value is also used for the number of columns to scroll
- left or right when the left or right arrows are pressed.
-
-
- DEFAULTS
-
- The program can be modified and saved with the options you select.
- Or it may be renamed so you will run a different name depending on
- the options you want set as the defaults. The program could be saved
- on different sub-directories also. With this, the user could run a
- program with different attributes, depending on what kind of file he
- is looking through (i.e. Pascal, C, or regular text).
-
- If you would like to change the default values for these options; so
- that when the program is loaded you will not have to change the color
- every time to the color you like for example, you may follow these
- instructions.
-
-
-
-
-
-
- Page 4 of 5
-
- BF.COM (Version 1.10)
-
-
- DEFAULTS con't
-
-
- A copy of the DOS DEBUG program is needed to perform this operation.
-
- Using the DEBUG program enter the following from the DOS prompt A>
-
- DEBUG BF.COM
-
- E 108 xx The color ATTRIBUTE you like (see below)
- Default is zero.
-
- E 10F xx number of lines to scroll for pgup/pgdn.
- Default is 25 decimal (19 hex).
-
- E 115 xx number of spaces to insert for a tab character and
- the number of columns to scroll left or right on the
- left or right arrow keys. Default is 8.
-
- E 11B xx make this byte zero to cause the default mode to
- be the fast mode.
-
- NOTE: xx has to be a hexadecimal number.
-
- W This will write the file back to the disk with
- the changes made.
-
- DEBUG will response with, "Writing 0A08 bytes"
-
-
- The attributes (colors) which are included in the program are the
- following:
-
- 0F - Bright white characters on black
- 07 - White characters on black
- 02 - Green characters on black
- 1F - Bright white on blue
- 17 - White on blue
- 4F - Bright white on red
- 47 - White on red
- 20 - Black on green
- 30 - Black on cyan
- 71 - Blue on white
- 70 - Black on white
- 06 - Yellow on black
- 0E - Bright yellow on black
-
- Any color attribute may be used. For more information on color
- attributes refer to the DOS Technical Reference Manual.
-
-
-
-
-
-
- Page 5 of 5
-
- BF.COM (Version 1.10)
-
-
- DISCLAIMER
-
- This code is released into the public domain with no restrictions as
- to its use.
-
- The author has taken due care in writing this code, and the code is
- supplied as is. The author makes no expressed or implied warranty of
- any kind with regard to this code. In no event shall the author be
- liable for incidental or consequential damages in connection with or
- arising out of the use of this code.
-
-
- VERSION INFORMATION
-
- Version 1.10 -
-
- o Fixed a minor bug that kept the screen from changing back from
- the reading data from disk message to the file data. This would
- occur if the program would have to read more data from the file
- while updateing the screen. The file is also read while moving
- foreward in the buffer to the next page or line before it goes to
- update the screen, but this caused no problem.
-
- o When the ANSI driver is installed, and the default color is
- altered by the user, the reading data from disk message was not
- the correct color. It would be the original color as when the
- program was called instead of the default color set into the
- program with the DEBUG program. This is now fixed.
-
- o Added the option of changing the number of spaces inserted for a
- tab character (ALT-T command).
-
- o Fast mode default can now be set.